<!--# layout("/common/layout.html",{"jsBase":"/jscms/todo/"}){ -->

<form class="layui-form " id="addForm">
    <div class="layui-row">
        <div class="layui-form-item">
            <div class="layui-inline">
            <label class="layui-form-label">name</label>
				<div class="layui-input-inline">
					<input type="text" name="name" class="layui-input" lay-verify="required">
				</div>
            </div>
            <div class="layui-inline">
            <label class="layui-form-label">phone</label>
				<div class="layui-input-inline">
					<input type="text" name="phone" class="layui-input" lay-verify="required|number">
				</div>
            </div>
        </div>
    </div>
    <div class="layui-row">
        <div class="layui-form-item">
        </div>
    </div>
    <layui:submitButtons id="addButton" />
</form>
<!--#} -->
<script>
layui.use(['add'], function(){
    var testAdd = layui.add
    testAdd.init();
});
</script>
